﻿using Common.Result;
using ModelDtos.User;
using Models.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BusinessInterface
{
    public interface IUserManagerService : IBaseService
    {
        /// <summary>
        /// 注册用户信息
        /// </summary>
        /// <param name="user"></param>
        /// <returns></returns>
        public ApiResult Register(Sys_User user);

        /// <summary>
        /// 登录成功查询到的用户信息
        /// </summary>
        /// <param name="userName"></param>
        /// <param name="password"></param>
        /// <returns></returns>
        public SysUserInfo? Login(string userName, string password);

        
    }
}
